
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<!--?xml version="1.0" encoding="UTF-8"?-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
    <title>Change Password</title>
            <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>

    <meta name="description" content="Place your description here">
    <meta name="keywords" content="put, your, keyword, here">
    <meta name="author" content="Templates.com - website templates provider">
    
    <link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
    <link rel="stylesheet" href="css/layout.css" type="text/css" media="all">
    <link rel="stylesheet" href="css/style.css" type="text/css" media="all">
    <link rel="stylesheet" href="css/buttonCSS.css" type="text/css" media="all">
    <link rel="stylesheet" href="css/help.css" type="text/css" media="all">
    
    <script type="text/javascript" src="js/maxheight.js"></script>
    <script type="text/javascript" src="js/jquery-1.4.2.min.js" ></script>
    <script type="text/javascript" src="js/cufon-yui.js"></script>
    <script type="text/javascript" src="js/cufon-replace.js"></script>
    <script type="text/javascript" src="js/Myriad_Pro_400.font.js"></script>
    <script type="text/javascript" src="js/script.js"></script>
    <script type="text/javascript" src="js/jquery.pageslide.min.js"></script>
    <script type="text/javascript" src="/TSRH/js/cal.js"></script>

    <link href="DatePicker/kendo.common.min.css" rel="stylesheet">
    <link href="DatePicker/kendo.blueopal.min.css" rel="stylesheet">
    <script src="DatePicker/jquery.min.js"></script>
    <script src="DatePicker/kendo.web.min.js"></script> 


<body id="page1" onload="upgardepicker()">
 <a href="javascript:$.pageslide({ direction: 'right', href: 'help/changePassword.html' })" class="first">help</a>

                                
    <div class="wrap">
        <%@ include file="headers.jsp" %>           
        <section id="content">
            <div class="container">
                <div class="inside">
                    <div class="wrapper indent">
                        <div id="content_main">    
                            <table><tr><td>
                                        <h2> Change Password   </h2> </td></tr>    &nbsp; &nbsp;&nbsp;
                                
                            </table>
                            <%
                                if (session.getAttribute("user") == null) {
                                    response.sendRedirect("/TSRH/index.jsp");
                                }
                            %>
                            <%
                                HttpSession session1 = request.getSession();
                                String f = (String) session1.getAttribute("flag");
                                if (f == "False") {
                            %>  
                            <h4 align="center"><font color="red">Incorrect format or Wrong Password</font></h4>
                                <%                  }
                                    if (f == "True") {
                                %>  
                            <h4 align="center"><font color="green">Password Changed Successfully</font></h4>
                                <%                   }
                                    session1.setAttribute("flag", null);
                                %>
                          <form id="form" name="form" method="post" action="/TSRH/changepassword.org">
                                <table align="center" border='0'>
                                    <tr>
                                        <td width = "200"> <h3>  Current Password*   </h3></td>
                                        <td>
                                            <p>
                                                <input type="password" name="CurrentPassword" id="CurrentPassword"  class ="textbox"  size="20">
                                            </p>
                                        </td>

                                    </tr>
                                    <tr><td width = "200"> <h3>  New Password*   </h3></td>
                                        <td><p>
                                                <input type="password" name="NewPassword" id="NewPassword"  class ="textbox"  size="20">
                                            </p>
                                        </td>
                                        </td>
                                    </tr>
                                    <tr><td width = "200"> <h3>  Re-Enter the New Password*   </h3></td>
                                        <td><p>
                                                <input type="password" name="NewPassword1" id="NewPassword1"  class ="textbox"  size="20">
                                            </p>
                                        </td>
                                        </td>
                                    </tr>


                                    <tr>      <td width = "200"></td> 
                                        <td colspan=2><input type="submit" name = "submit" value="submit" class="blue button" >
                                    </tr>
                                </table>
                                <p>Password must contain :</p>
                                <p>1. at least one digit from 0-9,lowercase characters,uppercase characters</p>
                                <p>2. one special character from @#$%?*^&_!~ </p>
                                <p>3. length at least 8 characters and maximum of 20</p>

                            </form>
                        </div>        

                        </p>
                    </div>
                </div>   
            </div>  
    </div>  



    <%@ include file="footers.jsp" %>

</tr>
<script type="text/javascript">Cufon.now();</script>
<script src="js/jquery.pageslide.min.js"></script>
</body>
</html>